package sctu.edu.java.year2016.team04.yanghuilin.day20160605.chapter11_2;

/**
 * Created by dell on 2016/6/5.
 */
public class ChengJi {
    public static void main(String[] args) {
        Num num=new Num();
        num.count();
        try{
            System.out.println("The product is "+num);
        }catch (Exception p){
            System.out.println("The number is a imaginary number.");
        }
    }
}
